<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>demo2</title>
	<script type="text/javascript">


		function jiecheng(arg){
			if(arg==0){
				return 1;
			}
			return arg*jiecheng(arg-1);
		}

		res=jiecheng(5);
		alert(res);
	</script>
</head>
<body>
	
</body>
</html>